﻿using Castle.ActiveRecord;
using Financial.Infra.DDD;
using Financial.Core.Modulos.ModuloUsuario;
using Financial.Core.Modulos.ModuloDebito;
using System.Collections.Generic;
using System;

namespace Financial.Core.Modulos.ModuloParcela
{
    [ActiveRecord]
    public class Parcela : IIdentifiable
    {
        [PrimaryKey]
        public int Id { get; set; }

        [Property]
        public double PAR_FL_VALOR { get; set; }

        [BelongsTo("PAR_ID_DEBITO")]
        public Debito Debito { get; set; }

        [Property]
        public bool PAR_BIT_PAGO { get; set; }

        [Property]
        public DateTime PAR_DT_PGTO { get; set; }


    }
}
